//
//  CTLoginItems.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/4/22.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTUser.h"

@interface CTLoginItems : NSObject

@end

#pragma mark - 请求参数

@interface CTVisitorLoginRequestItem : NSObject
@property(nonatomic,copy)NSString * deviceid;
@property(nonatomic,copy)NSString * clienttime;
@property(nonatomic,copy)NSString * openid;
@end


@interface CTMobileLoginRequestItem : CTVisitorLoginRequestItem
@property(nonatomic,copy)NSString * mobile;
@property(nonatomic,copy)NSString * cipher;

@end


@interface CTThirdPartyLoginRequestItem :CTVisitorLoginRequestItem
@property(nonatomic,copy)NSString * channel;
@property(nonatomic,copy)NSString * identification;
@property(nonatomic,copy)NSString * name;
@property(nonatomic,copy)NSString * head;
@property(nonatomic,copy)NSString * lang;
@property(nonatomic,copy)NSString * gender;
@end


@interface CTMobileRegisterRequestItem : CTMobileLoginRequestItem

@property(nonatomic,copy)NSString * channel;
@property(nonatomic,copy)NSString * lang;
@property(nonatomic,copy)NSString * name;
@property(nonatomic,strong)NSData * head;
@property(nonatomic,copy)NSString * gender;


@end

@interface CTRestPasswordRequestItem : NSObject
@property(nonatomic,copy)NSString * mobile;
@property(nonatomic,copy)NSString * cipher;
@end


@interface CTVerificationRequestItem : NSObject
@property(nonatomic,copy)NSString * mobile;
@end



#pragma mark - 返回参数

@interface CTVisitorLoginCompletionItem : NSObject
@property(nonatomic,copy)NSString * token;
@end


@interface CTMobileLoginCompletionItem : CTVisitorLoginCompletionItem
@property(nonatomic,strong)CTUserItem * user;

@end


@interface CTThirdPartyLoginCompletionItem : CTMobileLoginCompletionItem
@property(nonatomic,copy)NSString * type;
@end

@interface CTMobileRegisterCompletionItem : CTMobileLoginCompletionItem
@property(nonatomic,copy)NSString * mobile;
@end


@interface CTRestPasswordCompletionItem : NSObject
@property(nonatomic,copy)NSString * mobile;
@property(nonatomic,copy)NSString * modified_at;
@end



@interface CTVerificationCompletionItem : NSObject
@property(nonatomic,copy)NSString * mobile;
@property(nonatomic,copy)NSString * created;
@end













